/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2020-2022. All rights reserved.
 * Description: hccd实现基类头文件
 */
#ifndef HCCD_PUB_H
#define HCCD_PUB_H

#include "hccl_comm_pub.h"
#include "hcom_pub.h"
using HccdInfo = struct HccdInfoTag {
    std::shared_ptr<hccl::HccdComm> pCommhccd;
    hccl::HcclCommParams params;
    hccl::RankTable_t rankTable;
    bool cloudFlag;

    HccdInfoTag()
        :pCommhccd(nullptr), cloudFlag(false)
    {
    }
};

HcclResult HccdGenerateCommId(hccl::HcclCommParams &params);

#endif